*{
    margin: 0;
    padding: 0;
}

body{
    background: url(../img/header_bg.gif) repeat-x;
}

header{
    width: 1000px;
    margin: 0 auto;

}

footer{
    width: 1000px;
    margin: 0 auto;
    text-align: center;
    padding: 10px;
}

footer a{
    text-decoration: none;
    color: darkgoldenrod;
}

footer a:hover{
    color: red;
}

#logo {
    width: 205px;
    height: 100px;
    background: url(../img/logo_demo.gif) no-repeat;
    margin-bottom: 20px;

}

#logo h1 a{
    display: block;
    width: 205px;
    height: 90px;
    opacity: 0;
}

#main{
    width: 1000px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 0 1px #ccc;
}

#main h2{
    text-align: center;
    padding: 16px;
}

/*--------------------轮播图左右箭头----------------------------*/
.flex-direction-nav a{
    background: url(../img/flexslider/arr.png) no-repeat; /*改变左右箭头样式*/
    text-indent: -999em;        /*隐藏文本*/
}

.flex-direction-nav .flex-prev {
    background-position:0 0;
}

.flex-direction-nav .flex-next {
    background-position:-132px 0;
}

/*--------------------------轮播图文字--------------------------------*/
.slides li{
    position: relative;
}

.slides h4{
    line-height: 42px;
    font-size: 22px;
}

.slides p{
    line-height: 22px;
    font-size: 18px;
}

#slide-1{
    position: absolute;
    top: 70px;
    right: 200px;
    opacity: 0.7;
}

#slide-2{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 42px;
    background: #000;
    text-indent: 20px;
    color: aqua;
    opacity: 0.7;
}

#slide-3{
    position: absolute;
    top: 70px;
    right: 65px;
    width: 435px;
    padding: 10px;
    background: #333;
    color: #fff;
    opacity: 0.7;
}

#slide-3 a{
    color: aqua;
}

#slide-4{
    position: absolute;
    top: 20px;
    left: 200px;
    width: 520px;
    opacity: 0.7;
}